package br.com.xxx.extrator.core.main;

import java.util.List;

import br.com.xxx.extrator.core.beans.Url;
import br.com.xxx.extrator.core.conector.UrlManager;
import br.com.xxx.extrator.core.manager.BuscadorUrlDeDestino;
import br.com.xxx.extrator.core.util.ConversorObjetos;

public class Principal {

	public static void main(String[] args) {
		UrlManager urlManager = new UrlManager();
		
		BuscadorUrlDeDestino urlsDestino = new BuscadorUrlDeDestino();
		
		List<Url> urls = ConversorObjetos.converteListaStringToUrl(urlsDestino.getDestinosFixos());

		for (Url url : urls) {
			// conectar e buscar o html
			urlManager.getCurrentHtmlFromPage(url);
		}
		
	}
	
}
